<template>
  <text
    class="smtfont"
    :class="type"
    :style="{ 'font-size': `${size}rpx` }"
    @click="$emit('click')"
  ></text>
</template>

<script>
export default {
  props: {
    type: {
      type: String,
      default: "",
    },
    size: {
      type: [Number, String],
      default: 16,
    },
  },
};
</script>

<style scoped>
@import "./iconfont.css";
</style>
